package com.guangyunl.f_javabean;

public class Student {
    private int sid;
    private String name;
    // 无参构造
    public Student() {
    }
    // 有参构造
    public Student(int sid, String name) {
        this.sid = sid;
        this.name = name;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
